import Vue from 'vue'
import App from './App'

const awsApi = require('./config/api.json')
 

Vue.config.productionTip = false

App.mpType = 'app'

App.enviroment = 'dev'

if(App.enviroment === 'dev'){
	Vue.prototype.$domain = "http:localhost:8080"
}else if(App.enviroment === 'test'){
	Vue.prototype.$domain = "http:localhost:8080"
}else if(App.enviroment === 'pro'){
	Vue.prototype.$domain = "http:localhost:8080"
}

//挂载全局变量到Vue中
Vue.prototype.$api ={
	user_module:{
		text:'用户模块'
	}
}

const app = new Vue({
    ...App
})
app.$mount()
